define(function(require, exports, module) {
    "require:nomunge,exports:nomunge,module:nomunge";

    var app = require('mokit/app');
    var controller = require('mokit/controller');
    var commonUtils = require('../common/utils');

    var self = exports;

    controller.Controller.extend({

        /**
         * 控制器创建时
         */
        onCreate: function(context) {
            var self = this;

        },

        /*
         * 控制器释放时
         */
        onDispose: function(context) {
            var self = this;

        },

        /**
         * 返回
         */
        back: function(context, _back) {
            var self = this;
            commonUtils.back(_back);
        },

        /**
         * 跳转
         */
        go: function(context, _to, _from) {
            var self = this;
            commonUtils.go(_to, _from);
        }
    });

});